﻿<Window x:Class="SIDTranslator.SIDTranslatorUI"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SID Translator" Height="410" Width="700" Loaded="Window_Loaded" ResizeMode="NoResize" Background="#FF0C89FF" Icon="/SIDTranslator;component/Images/sidTranslatorIcon.png">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200*" />
            <ColumnDefinition Width="50*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="85"  />
            <RowDefinition Height="30"  />
            <RowDefinition Height="50" />
            <RowDefinition Height="10"  />
            <RowDefinition Height="50" />
            <RowDefinition Height="30"  />
            <RowDefinition Height="50"  />
            <RowDefinition Height="60" />
        </Grid.RowDefinitions>
        <!--<Label Content="SID translator" Grid.ColumnSpan="2" VerticalAlignment="Top" HorizontalAlignment="Stretch" Margin="0,0,0,0" FontFamily="Consolas" Background="DarkGray" Height="40" Padding="20,10,5,5" FontSize="20" Foreground="Black" />-->
        <!--<GroupBox Grid.Column="0" Grid.Row="1" Header="Source" HorizontalAlignment="Stretch" Margin="12,0,12,5" Name="source" VerticalAlignment="Stretch" Foreground="White">
            <Grid >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="50" />
                    <ColumnDefinition Width="200*" />
                    <ColumnDefinition Width="50" />
                </Grid.ColumnDefinitions>-->
                <!--<ComboBox Height="23" HorizontalAlignment="Left" Grid.Column="0" Margin="0,0,0,0" x:Name="formatSrc" VerticalAlignment="Center" Width="100" IsReadOnly="True" Grid.ColumnSpan="2" SelectionChanged="formatSrc_SelectionChanged" />-->
                <!--<TextBox Height="23" HorizontalAlignment="Left" Grid.Column="0" Margin="0,0,0,0" x:Name="formatSrc" VerticalAlignment="Center" Width="100" IsReadOnly="True" IsEnabled="False" Grid.ColumnSpan="2" />-->
                <!--<Button Height="23" HorizontalAlignment="Left" Grid.Column="0" Margin="0,0,0,0" x:Name="formatSrc" VerticalAlignment="Center" Width="100" IsEnabled="True" Background="#FFF4F4F4" BorderBrush="DarkGray" Click="formatSrc_Click" />-->
        <!--<Label Content="SID Translator" Grid.Column="0" Grid.Row="0" Margin="22,0,0,0" Padding="0,9,0,0" VerticalAlignment="Top" FontSize="60" FontFamily="Segoe UI" FontWeight="Bold" Foreground="#FF0C89FF" FontStyle="Italic" />
        <Label Content="SID Translator" Grid.Column="0" Grid.Row="0" Margin="18,0,0,0" Padding="0,6,0,0" VerticalAlignment="Top" FontSize="60" FontFamily="Segoe UI" FontWeight="Bold" Foreground="White" FontStyle="Italic" />-->
        <!--<Label Content="SID Translator" Grid.Column="0" Grid.Row="0" Margin="22,0,0,0" Padding="0,9,0,0" VerticalAlignment="Top" FontSize="60" FontFamily="Segoe UI"  Foreground="#FF0C89FF" />-->
        <Label Content="SID Translator" Grid.Column="0" Grid.Row="0" Margin="18,0,0,0" Padding="0,0,0,0" VerticalAlignment="Top" FontSize="70" FontFamily="Segoe UI" Foreground="White" />
        <Label Content="Enter the SID" Grid.Column="0" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="18,0,0,0" FontFamily="Segoe UI" Foreground="#FFCED4DF"  FontSize="16" />
        <TextBox Grid.Column="0" Grid.Row="2" Height="35" HorizontalAlignment="Stretch" Margin="18,0,9,0" x:Name="valueSrc" VerticalAlignment="Top" FontSize="14" Padding="1,5,1,1" />
        <Button Grid.Column="1" Grid.Row="2" x:Name="paste" Content="Paste" Margin="9,0,18,0" Height="35" Click="paste_Click" ToolTip="Paste from the ClipBoard" FontSize="14" VerticalAlignment="Top"/>
        <!--<Label Content="Enter the SID" Grid.Column="0" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="18,0,0,0" Foreground="White" FontWeight="Bold" IsEnabled="False" FontSize="14" />-->
            <!--</Grid>
        </GroupBox>-->
        <!--<GroupBox Grid.Column="0" Grid.Row="2" Header="Target" HorizontalAlignment="Stretch" Margin="12,5,12,0" Name="target" VerticalAlignment="Stretch" Foreground="White">
            <Grid >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="50" />
                    <ColumnDefinition Width="200*" />
                    <ColumnDefinition Width="50" />
                </Grid.ColumnDefinitions>-->
                <!--<ComboBox Height="23" HorizontalAlignment="Left" Grid.Column="0" Margin="0,0,0,0" x:Name="formatDst" VerticalAlignment="Center" Width="100" IsReadOnly="True" Grid.ColumnSpan="2" />-->
                <!--<TextBox Height="23" HorizontalAlignment="Left" Grid.Column="0" Margin="0,0,0,0" x:Name="formatDst" VerticalAlignment="Center" Width="100" IsReadOnly="True" IsEnabled="False" Grid.ColumnSpan="2" />-->
                <!--<Button Height="23" HorizontalAlignment="Left" Grid.Column="0" Margin="0,0,0,0" x:Name="formatDst" VerticalAlignment="Center" Width="100" Background="#FFF4F4F4" BorderBrush="DarkGray" Click="formatDst_Click" />-->
        <TextBox Grid.Column="0" Grid.Row="4" Height="35" HorizontalAlignment="Stretch" Margin="18,0,9,0" x:Name="valueDst" VerticalAlignment="Top" IsReadOnly="True" IsEnabled="False" FontSize="14" Padding="1,5,1,1" />
        <Button Grid.Column="1" Grid.Row="4" x:Name="copy" Margin="9,0,18,0" Height="35" FontSize="14" VerticalAlignment="Top" IsEnabled="False"/>
        <Button Grid.Column="0" Grid.Row="6" Height="35" HorizontalAlignment="Left" Margin="18,0,0,0" x:Name="translate" VerticalAlignment="Center" Width="150" IsDefault="True" FontSize="14" />
        <!--</Grid>
        </GroupBox>-->
        
        <TextBox Grid.Column="0" Grid.Row="7" Grid.ColumnSpan="2" Height="30" HorizontalAlignment="Stretch" Margin="18,5,18,5" x:Name="errorTxt" VerticalAlignment="Bottom" IsReadOnly="True" IsEnabled="True" Foreground="#FF0B0B0B" AcceptsReturn="True" TextWrapping="Wrap" Background="#FFB6C3E7" FontSize="14" />
        <CheckBox Content="Always on Top" Grid.Row="5" Height="30" HorizontalAlignment="Left" Margin="18,0,0,0" x:Name="alwaysOnTop" VerticalAlignment="Center" Checked="alwaysOnTop_Checked" Unchecked="alwaysOnTop_Unchecked" Foreground="#FFCED4DF" FontSize="13" FontStyle="Italic" />
        <RadioButton Content="Translate" Grid.Row="5" Height="16" HorizontalAlignment="Left" Margin="240,0,0,0" x:Name="rTranslate" VerticalAlignment="Top" GroupName="Function" Foreground="#FFCED4DF" FontSize="13" Checked="rTranslate_Checked" IsChecked="True"/>
        <RadioButton Content="Compare" Grid.Row="5" Height="16" HorizontalAlignment="Left" Margin="330,0,0,0" x:Name="rCompare" VerticalAlignment="Top" GroupName="Function" Foreground="#FFCED4DF" FontSize="13" Checked="rCompare_Checked" />
        <Button Content="?" Grid.Column="1" Height="30" HorizontalAlignment="Right" Margin="0,18,18,0" x:Name="about" VerticalAlignment="Top" Width="30" ToolTip="About" FontSize="14" Click="about_Click" />
    </Grid>
</Window>
